| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Frustum.h
1 // Frustum.h
3 //
5
6 namespace nkGraphics
7 {
15 class Frustum final
16 {
17 public :
18
19 // Constructor, destructor
23 Frustum () noexcept ;
29 Frustum (const Frustum& other) noexcept ;
33 ~Frustum () ;
34
35 // Getters
42 const nkMaths::Vector& getPlane (unsigned int index) const ;
48 bool getIsInfiniteZ () const ;
49
50 // Setters
57 void setPlane (const nkMaths::Vector& plane, unsigned int index) ;
58
59 // Construction
63 void buildFrustum (const nkMaths::Matrix& viewMat, const nkMaths::Matrix& projMat) ;
64
65
66 } ;
67 }
nkGraphics::Frustum::setPlane
void setPlane(const nkMaths::Vector &plane, unsigned int index)
nkMaths
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
nkGraphics::Frustum::getPlane
const nkMaths::Vector & getPlane(unsigned int index) const
nkGraphics::Frustum::buildFrustum
void buildFrustum(const nkMaths::Matrix &viewMat, const nkMaths::Matrix &projMat)
nkGraphics::Frustum
Defines a frustum.
Definition: Frustum.h:16
nkGraphics::Frustum::getIsInfiniteZ
bool getIsInfiniteZ() const
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Frustum::Frustum
Frustum() noexcept